home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / h8300 / boot / Makefile
Encoding:
Makefile  |  2008-12-24  |  611 b   |  23 lines

  1. # arch/h8300/boot/Makefile
  2.  
  3. targets := vmlinux.srec vmlinux.bin zImage
  4. subdir- := compressed
  5.  
  6. OBJCOPYFLAGS_vmlinux.srec := -Osrec
  7. OBJCOPYFLAGS_vmlinux.bin  := -Obinary
  8. OBJCOPYFLAGS_zImage := -O binary -R .note -R .comment -R .stab -R .stabstr -S
  9.  
  10. $(obj)/vmlinux.srec $(obj)/vmlinux.bin:  vmlinux FORCE
  11.     $(call if_changed,objcopy)
  12.     @echo '  Kernel: $@ is ready'
  13.  
  14. $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
  15.     $(call if_changed,objcopy)
  16.     @echo 'Kernel: $@ is ready'
  17.  
  18. $(obj)/compressed/vmlinux: FORCE
  19.     $(Q)$(MAKE) $(build)=$(obj)/compressed $@
  20.  
  21. CLEAN_FILES += arch/$(ARCH)/vmlinux.bin arch/$(ARCH)/vmlinux.srec
  22.  
  23.